package com.iocup.keybastion.configuration;

import com.iocup.keybastion.common.AuthConstant;
import lombok.Getter;
import lombok.Setter;

import java.util.HashSet;
import java.util.Set;

/**
 * 认证配置
 * @author xyjxust
 * @create 2023/1/17 11:04
 **/
@Setter
@Getter
public class AuthProperties {

    /**
     * 启用的客户端
     */
    private String client = AuthConstant.DEFAULT_CLIENT_NAME;

    /**
     * 拦截路由
     */
    private Set<String> includeList = new HashSet<>();
    /**
     * 放行路由
     */
    private Set<String> excludeList = new HashSet<>();
}
